//
//  ViewController.m
//  circleImage
//
//  Created by 梁森 on 2017/10/24.
//  Copyright © 2017年 梁森. All rights reserved.
//

#import "ViewController.h"
#import "UIImage+circleImage.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    UIImageView * redV = [[UIImageView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
    redV.image = [UIImage imageNamed:@"1"];
    redV.image = [redV.image circleImage];
    [self.view addSubview:redV];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
